<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<input type="button" value="点我" onclick="window.open('http://www.baidu.com','mywindow')">
<input type="button" value="点我" onclick="window.open('http://www.163.com','mywindow')">
<input type="button" value="点我" onclick="window.open('http://www.163.com','mywindow2','height=300,width=200,location=yes,status=yes,resizable=yes,scrollbars=yes')">
<input type="button" value="点我" onclick="window.open('4-2 resizeTo.html','xxx','width=800;height=600;')">
</body>
</html>